Line magics:
%cd PATH - change current directory of session
%connect_info - show connection information
%download URL [FILENAME] - download file from URL
%html CODE - display code as HTML
%install_magic URL - download and install magic from URL
%javascript CODE - send code as JavaScript
%latex TEXT - display text as LaTeX
%lsmagic - list the current line and cell magics
%magic - show installed magics
%reload_magics - reload the magics from the installed files
%shell COMMAND - run the line as a shell command
%time COMMAND - show time to run line
Cell magics:
%%file FILENAME - write contents of cell to file
%%html - display contents of cell as HTML
%%javascript - send contents of cell as JavaScript
%%latex - display contents of cell as LaTeX
%%shell - run the contents of the cell as shell commands
%%time - show time to run cell
Shell shortcut:
! COMMAND ... - execute command in shell
Any cell magic can be made persistent for rest of session by using %%% prefix.
Help on items:
??item - get detailed help on item
?item - get help on item